Const-ipate jeeps function signature. (Yeah, coz THAT makes that API beautiful...)
authorRobert Lipe <robertlipe@gpsbabel.org>
Mon, 3 Dec 2018 05:58:26 +0000 (23:58 -0600)
committerRobert Lipe <robertlipe@gpsbabel.org>
Mon, 3 Dec 2018 05:58:26 +0000 (23:58 -0600)
jeeps/gpsapp.cc

index 7ef1733dc54a9e353f536fae68184f2904e61391..e1152eab11d222a4d34d0e362695db9beaac69f0 100644 (file)
@@ -88,7 +88,7 @@ static void   GPS_D155_Send(UC* data, GPS_PWay way, int32* len);
 
 static void   GPS_D120_Get(int cat_num, char*s);
 
-static void   GPS_D200_Get(GPS_PWay* way, UC* s);
+static void   GPS_D200_Get(GPS_PWay* way, const UC* s);
 static void   GPS_D201_Get(GPS_PWay* way, UC* s);
 static void   GPS_D202_Get(GPS_PWay* way, UC* s);
 static void   GPS_D210_Get(GPS_PWay* way, UC* s);
@@ -3444,7 +3444,7 @@ int32 GPS_A201_Send(const char* port, GPS_PWay* way, int32 n)
 **
 ** @return [void]
 ************************************************************************/
-static void GPS_D200_Get(GPS_PWay* way, UC* s)
+static void GPS_D200_Get(GPS_PWay* way, const UC* s)
 {
   (*way)->rte_prot = 200;
   (*way)->rte_num  = *s;